home *** CD-ROM | disk | FTP | other *** search
- /*
-
- POLYTOPE OBJECT INCLUDE FILE v1.0b - example file for polytopes
- Copyright (C) 1997 Thomas Willhalm
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-
- */
-
- #include "colors.inc"
-
- camera {
- location <0, 4, 4>
- look_at <0, 0, 0>
- }
-
- global_settings{ assumed_gamma 1.0 }
-
- light_source { <10, 20, 7> color White}
-
- plane { y 0 pigment {checker Green, White}}
-
- #declare array = "<0,0,0>,<0,0,1>,<0,1,0>,<1,0,0>"
- #include "polytope.inc"
- object {polytope
- pigment {color Blue}
- }
-
- #declare array = "<2,0,0>,<2,0,1>,<2,1,0>,<2,1,1>,<3,0,0>,<3,0,1>,<3,1,0>,<3,1,1>"
- #include "polytope.inc"
- object {polytope
- pigment {color Blue}
- }
-
- #declare array = "<-1,0,0>,<-1,0,1>,<-2,0,0>,<-2,0,1>,<-1.5,1,0.5>"
- #include "polytope.inc"
- object {polytope
- pigment {color Blue}
- }
-